package cn.yunyichina.provider.clinic.constant;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class BizConstant {
    
    public static final String COMMON_ENTITY_LIST_KEY = "entityList";

    public static final String VIEW_SENSITIVE_CHAR = "*";

    
    public static final int HANDLED_HAD_HANDLED = 1;

    
    public static final int HANDLED_NO_HANDLED = 0;

    
    public static final int HANDLED_SUCCESS = 1;

    
    public static final int HANDLED_FAILURE = 0;

    
    public static final String INTERFACE_RES_SUCCESS_CODE = "0";

   
    public static final String MODE_TYPE_WEIXIN = "wechat";
    
    public static final String MODE_TYPE_ALIPAY = "alipay";
    
    
    public static final String MODE_TYPE_ALIPAY_MATCHER = "alipayMatcher";

    
    public static final String MODE_TYPE_UNIONPAY = "unionpay";

    
    public static final String MODE_TYPE_EASYHEALTH = "easyHealth";
    
    
    public static final int ORDER_TYPE_PAYMENT = 1;

    
    public static final int ORDER_TYPE_REFUND_ONLINE = 2;

    
    public static final int ORDER_TYPE_REFUND_SYSTEM = 3;

    
    public static final int ORDER_TYPE_REFUND_STOP = 4;

   
    public static final int ORDER_TYPE_REFUND_OFFLINE_ALL = 5;

    
    public static final int ORDER_TYPE_REFUND_OFFLINE_PART = 6;
    
   
    public static final int BIZ_TYPE_CLINIC = 2;
    public static final String BIZ_TYPE_CLINIC_NAME = "门诊";
    
    public static final String MODE_TYPE_OTHER = "未知";
    public static final int MODE_TYPE_WEIXIN_VAL = 1;
    public static final int MODE_TYPE_ALIPAY_VAL = 2;
    public static final int MODE_TYPE_EASYHEALTH_WEIXIN_VAL = 3;
    public static final int MODE_TYPE_EASYHEALTH_ALIPAY_VAL = 4;
    public static final int MODE_TYPE_EASYHEALTH_UNIONPAY_VAL = 5;
    public static final int MODE_TYPE_UNIONPAY_VAL = 6;
    
    
    public static final int TRADE_MODE_WEIXIN = 1;

    
    public static final int TRADE_MODE_ALIPAY = 2;

    public static final int TRADE_MODE_EASYHEALTH_WEIXIN_VAL = 3;
    public static final int TRADE_MODE_EASYHEALTH_ALIPAY_VAL = 4;
    public static final int TRADE_MODE_EASYHEALTH_UNIONPAY_VAL = 5;

  
    public static final int TRADE_MODE_UNIONPAY = 6;

    
    public static final int TRADE_MODE_EASYHEALTH_HEALTH_CARD_VAL = 7;

    
    public static final int TRADE_MODE_EASYHEALTH_INSURANCE_HEALTH_CARD_VAL = 8;

    
    public static final int TRADE_MODE_EASYHEALTH_CITIC_BANK_VAL = 9;
    
  
    public static final String ALL = "0";
    
    public static final String WECHAT = "1";
   
    public static final String ALIPAY = "2";
    
    
    public static DateFormat YYYYMMDD = new SimpleDateFormat("yyyy-MM-dd");

   
    public static DateFormat YYYYMMDDHHMMSS = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    
    public static final int APPLY_STATUS_INIT = 0;
    
    public static final int APPLY_STATUS_PHOTO_SUCC = 3;
    
    public static final int APPLY_STATUS_PHOTO_FAIL = 2;
    
    public static final int APPLY_STATUS_PRINTED = 4;
    
    public static final int APPLY_STATUS_SENDED = 1;
}
